<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>编辑文章</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/skin/admin/css/base.css">
<script language="javascript">
function viewArc(aid){
	if(aid==0) aid = getOneItem();
	window.open("archives.asp?aid="+aid+"&action=viewArchives");
}
function editArc(aid){
	if(aid==0) aid = getOneItem();
	location="archives.asp?aid="+aid+"&action=editArchives";
}
function updateArc(aid){
	var qstr=getCheckboxItem();
	if(aid==0) aid = getOneItem();
	location="archives.asp?aid="+aid+"&action=makeArchives&qstr="+qstr+"";
}
function checkArc(aid){
	var qstr=getCheckboxItem();
	if(aid==0) aid = getOneItem();
	location="archives.asp?aid="+aid+"&action=checkArchives&qstr="+qstr+"";
}
function moveArc(aid){
	var qstr=getCheckboxItem();
	if(aid==0) aid = getOneItem();
	location="archives.asp?aid="+aid+"&action=moveArchives&qstr="+qstr+"";
}
function adArc(aid){
	var qstr=getCheckboxItem();
	if(aid==0) aid = getOneItem();
	location="archives.asp?aid="+aid+"&action=commendArchives&qstr="+qstr+"";
}
function delArc(aid){
	var qstr=getCheckboxItem();
	if(aid==0) aid = getOneItem();
	location="archives.asp?aid="+aid+"&action=delArchives&qstr="+qstr+"";
}

//获得选中文件的文件名
function getCheckboxItem()
{
	var allSel="";
	if(document.form2.id.value) return document.form2.id.value;
	for(i=0;i<document.form2.id.length;i++)
	{
		if(document.form2.id[i].checked)
		{
			if(allSel=="")
				allSel=document.form2.id[i].value;
			else
				allSel=allSel+"`"+document.form2.id[i].value;
		}
	}
	return allSel;
}

//获得选中其中一个的id
function getOneItem()
{
	var allSel="";
	if(document.form2.id.value) return document.form2.id.value;
	for(i=0;i<document.form2.id.length;i++)
	{
		if(document.form2.id[i].checked)
		{
				allSel = document.form2.id[i].value;
				break;
		}
	}
	return allSel;
}
function selAll()
{
	for(i=0;i<document.form2.id.length;i++)
	{
		if(!document.form2.id[i].checked)
		{
			document.form2.id[i].checked=true;
		}
	}
}
function noSelAll()
{
	for(i=0;i<document.form2.id.length;i++)
	{
		if(document.form2.id[i].checked)
		{
			document.form2.id[i].checked=false;
		}
	}
}

function callSubMethod(){
  var str=window.showModalDialog("__APP__/Upload/","","dialogWidth=400px;dialogHeight=200px;toolbar=no;scroll=yes;");
  document.getElementById('cover').value=str;

}



</script>
<link href="__PUBLIC__/TQEditor/TQEditor.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/TQEditor/TQEditor.min.js" ></script>


</head>
<body leftmargin="8" topmargin="8" background='__PUBLIC__/skin/images/allbg.gif' >

<!--  快速转换位置按钮  -->
<table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D1DDAA" align="center">
<tr>
 <td height="26" background="__PUBLIC__/skin/images/newlinebg3.gif">
  <table width="98%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td align="center">编辑会员</td>
 </tr>
</table>
</td>
</tr>
</table>
  
<!--  内容列表   -->
<form name="form2" onSubmit="return CheckForm();" action="{:U('edit',array('uid'=>$li['uid']))}" method="post" >
  <table width="98%" border="0" align="center" cellspacing="1" bgcolor="#D1DDAA">
  <tr>
    <td width="100" height="28" bgcolor="#FFFFFF">用户名：</td>
    <td bgcolor="#FFFFFF">{$li['username']}</td>
    </tr>


  <tr>
    <td height="28" bgcolor="#FFFFFF">&nbsp;会员等级：</td>
    <td bgcolor="#FFFFFF">
      <select name="usertype" id="usertype">
        <option value="0">个人会员</option>
        <option value="1">企业会员</option>
        <option value="2">黄金会员</option>
        <option value="3">尊贵会员</option>
        <option value="4">旗舰会员</option>
      </select></td>
  </tr>
  <tr>
    <td height="28" bgcolor="#FFFFFF">&nbsp;会员密码：</td>
    <td bgcolor="#FFFFFF"><input name="password" placeholder="不填则不修改密码"></td>
  </tr>
  <tr>
    <td height="28" bgcolor="#FFFFFF">&nbsp;邮箱：</td>
    <td bgcolor="#FFFFFF"><input name="email"  id="email" value="{$li['email']}"></td>
  </tr>




  <tr>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF"><input type="submit" name="submit" value="修改"></td>
  </tr>
</table>
</form>
</body>
</html>